package com.itheima.day18.注解;

public @interface Demo1 {
    int sum() default 22;
    public String name() default "123";
    public Class clazz() default String.class;
    public RemoEnum option() default RemoEnum.SPRING;
    public Demo2 demo2() default  @Demo2;
    public int[] arr() default {1,2,3,4,5,6,7,8};
    public RemoEnum[] demo2s() default {RemoEnum.SPRING};
    public  Demo2[] ds() default {@Demo2};
    String value()  default "123";
}
@Demo1("ss")
class  Test{

}